<template>
  <div class="my">
    <div class="title">饿了么</div>
    <div class="yh">
      <span>账户设置</span>
    </div>
    <div class="bj">
      <span>吃货卡</span>
    </div>
    <div class="hb">
      <span>红包</span>
      <span>余额</span>
    </div>

    <div class="gj">
      <span v-for="(item, index) in gjArr" :key="index">{{ item }}</span>
    </div>
    <div class="yq">
      <div class="left">
        <span>邀好友赚现金</span>
      </div>
      <div class="right">
        <span>饿了么服务号</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      gjArr: ["我的地址", "我的客服", "店铺关注", "评价有礼"],
    };
  },
};
</script>

<style lang="scss" scoped>
.my {
  padding: 10px;
  background: #f5f5f5;
}
.my .title {
  font-size: 20px;
  font-weight: bold;
}
.my .yh {
  height: 60px;
  padding-top: 20px;
}
.my .yh span {
  border: 1px solid #666;
  padding: 5px;
  border-radius: 50px;
  float: right;
}
.my .bj {
  width: 100%;
  background: skyblue;
  height: 70px;
  border-radius: 5px;
  font-size: 20px;
  color: white;
}
.my .bj span {
  padding: 10px;
  display: block;
}
.my .hb {
  background: white;
  margin-top: 10px;
  height: 80px;
  border-radius: 5px;
  display: flex;
  justify-content: space-around;
  line-height: 80px;
  font-weight: bold;
}
.my .gj {
  background: white;
  margin-top: 10px;
  height: 100px;
  display: flex;
  justify-content: space-around;
  border-radius: 5px;
}
.my .gj span {
  margin-top: 60px;
}
.my .yq {
  margin-top: 10px;
  height: 200px;
  display: flex;
  justify-content: space-between;
}
.my .yq .left,
.right {
  width: 45%;
  height: 180px;
  background: white;
  border-radius: 5px;
  padding-top: 10px;
  font-weight: bold;
  padding-left: 10px;
}
</style>